package entity;

import java.math.BigInteger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Vendors")
public class VendorEntity {
	
	private BigInteger vendorId;
	private String vendorName;
	private BigInteger countryId;
	private String vendorAddress;
	
	@Id
    @Column(name = "vendor_id")
    public BigInteger getVendorId() {
        return vendorId;
    }
 
    public void setVendorId(BigInteger vendorId) {
        this.vendorId = vendorId;
    }
    
    @Column(name = "vendor_name")
    public String getVendorName() {
        return vendorName;
    }
 
    public void setVendorName(String vendorName) {
        this.vendorName = vendorName;
    }
    
    @Column(name = "country_id")
    public BigInteger getCountryId() {
        return countryId;
    }
 
    public void setCountryId(BigInteger countryId) {
        this.countryId = countryId;
    }
    
    @Column(name = "address")
    public String getVendorAddress() {
        return vendorAddress;
    }
 
    public void setVendorAddress(String vendorAddress) {
        this.vendorAddress = vendorAddress;
    }

}
